//
//  UIBezierPath+JXUtils.swift
//  TestAnimation
//
//  Created by xufei on 2019/4/2.
//  Copyright © 2019年 zjx. All rights reserved.
//

import Foundation

extension UIBezierPath {

    /// 计算通过三点的曲线的贝塞尔控制点
    func controlPointOf(pt0: CGPoint, pt1: CGPoint, pt2: CGPoint) -> CGPoint {
        
        return .zero
    }
    
    /// 计算通过四点的曲线的贝塞尔控制点
    func controlPointerOf(pt0: CGPoint, pt1: CGPoint, pt2: CGPoint, pt3: CGPoint) -> (CGPoint, CGPoint) {
        
        return (.zero, .zero)
    }
    
    
}
